// 公共顶部
.header-PC {
    width: 100%;
    #header {
        margin: 0 auto;
        height: 3.75rem;
        width: 100%;
        position: fixed;
        top: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        z-index: 999;
        background: white;
        color: black;
        .nav1 {
            position: relative;
            width: 20%;
            img {
                width: 45%;
                margin-left: 40%;
            }
        }
        .nav2 {
            position: relative;
            width: 60%;
            .navItem {
                font-size: 1rem;
                position: relative;
                display: grid;
                grid-template-columns: auto auto;
                align-items: center;
                justify-content: center;
                width: 12.5%;
                height: 60px;
                text-align: center;
                float: left;
                text-decoration: none;
                transition: all 0.3s ease;
                -webkit-transition: all 0.5s ease;
                a {
                    padding-right: 5px;
                    text-decoration: none;
                    word-break: keep-all;
                    white-space: norwap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    word-wrap: break-word;
                    text-wrap: nowrap;
                }
                .downimg {
                    height: 0.75rem;
                }
                // 下拉内容第一种形式
                .navItemConten {
                    width: 100%;
                    z-index: 999;
                    background-color: #f2f2f2;
                    max-height: 41.25rem;
                    min-height: 28.75rem;
                    box-shadow: 3px 5px 60px -20px #88909a;
                    position: fixed;
                    border: 1px solid lightgray;
                    top: 3.75rem;
                    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
                    left: 0;
					display: none;
                    .navItem_cyleft {
                        float: left;
                        text-align: center;
                        width: 20%;
                        max-height: 41.25rem;
                        font-size: 1rem;
                        li {
                            cursor: pointer;
                            zoom: 1;
                            clear: both;
                            border: 1px solid transparent;
                            a {
                                line-height: 2.75rem;
                                color: #656a6d;
                            }
                            a:hover {
                                color: #004bfa;
                            }
                        }
                        li.it_active {
                            border-color: #dddddd;
                            background-color: #ffffff;
                        }
                    }
                    .navItem_cyright {
                        max-height: 41.25rem;
                        min-height: 28.75rem;
                        overflow-y: auto;
                        border-left: 1px solid #dddddd;
                        font-weight: normal;
                        background-color: #fff;
                        margin: 0 auto;
                        box-shadow: -3px 0 0px #f3f3f3;
                        text-align: left;
                        .nav_cyrightit {
                            dt {
                                font-size: 0.875rem;
                                line-height: 1rem;
                                margin-inline-start: 1.25rem;
                                font-weight: 600;
                                border-bottom: 1px solid rgba(225, 225, 225, 0.5);
                                padding-bottom: 0.8125rem;
                                padding-top: 1rem;
                                img {
                                    height: 1rem;
                                    max-width: 100%;
                                }
                                a {
                                    color: #333;
                                    text-decoration: none;
                                    word-break: keep-all;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    word-wrap: break-word;
                                    text-wrap: nowrap;
                                }
                            }
                            dd {
                                font-size: 0.875rem;
                                line-height: 2.5rem;
                                padding-top: 0vw;
                                font-weight: 100;
                                display: inline-block;
                                margin-right: 3%;
                                margin-inline-start: 2.5rem;
                                a:hover {
                                    color: #004bf9;
                                    font-weight: 600;
                                    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
                                    -webkit-transition: all 0.2s linear;
                                }
                            }
                        }
                    }
                }
                .navItemConten.active {
                    max-height: 41.25rem; /* 根据实际内容调整合适高度 */
                    opacity: 1;
                }
                //第二种形式
                .navItemConten1 {
                    background-color: #fff;
                    color: black;
                    position: absolute;
                    display: none;
                    top: 60px;
                    width: auto;
                    height: auto;
                    z-index: 9999;
                    border-radius: 5px;
                    box-shadow: 0 0 1px 0 #88909a;
                    li {
                        color: #fff;
                        float: left;
                        text-align: left;
                        line-height: 1.5rem;
                        padding: 0.5rem;
                        display: list-item;
                        a {
                            cursor: pointer;
                        }
                        a:hover {
                            color: #004bfa;
                        }
                    }
                }
            }
        }
        .nav3 {
            position: relative;
            width: 20%;
            background-color: transparent;
            display: flex;
            align-items: center;
            cursor: pointer;
            .searchimg {
                margin-left: 4%;
            }

            .storetopbt {
                background: #004cfa;
                color: #fff;
                padding: 0 0.9375rem;
                border-radius: 1.25rem;
                height: 2.375rem;
                line-height: 2.5rem;
                margin-left: 15%;
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: center;
                font-size: 1rem;
                .storeImgico {
                    width: 1.25rem;
                    margin-right: 0.5rem;
                }
            }
            .choesCountry {
                position: relative;
				margin-left: 10%;
                .topCountry {
					display: none;
                    width: 21.25rem;
                    background-color: white;
                    position: fixed;
                    right: 5%;
                    top: 80px;
                    border-radius: 15px;
                    box-shadow: 2px 2px 10px 1px #88909a;
                    li {
                        width: 100%;
                        height: 3.125rem;
                        line-height: 3.125rem;
                        text-align: center;
                        display: flex;
						.countryName {
						    width: 70%;
						    text-align: left;
						    margin-left: 10px;
						    font-size: 1rem;
						}
                        .cico{
							width: 18%;
							margin-left: 0;
							.countryimg {
							    margin-left: 0;
							    margin-left: 1.25rem;
							    margin-top: 0.9375rem;
							    vertical-align: top;
							}
						}
                    }
                    li.closec {
                        display: flex;
						flex-direction: row;
						justify-content: end;
                        height: 1.875rem;
                    }
					.closecountrybt {
					    color: #aaa;
					    margin-top: -5px;
					    cursor: pointer;
					    height: 20px;
					    width: 20px;
					    margin-right: 10px;
					}
                }
            }
        }
    }
    //搜索弹框
    .searchmodalMian {
        position: fixed;
        z-index: 999;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 998;
        display: none;
        .searchmodalct {
            background-color: #fff;
            padding: 1.25rem;
            border-radius: 1.25rem;
            box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(0, 0, 0, 0.2);
            position: fixed;
            right: 2%;
            width: 45%;
            top: 5rem;
            height: 80%;
            overflow-y: auto;
            z-index: 998;
            .close-btn {
                color: #aaa;
                float: right;
                font-size: 1.5rem;
                cursor: pointer;
            }
            #serrchinput {
                margin-left: 10%;
                margin-top: 5%;
                width: 80%;
                height: 2.75rem;
                border: 1px solid grey;
                border-radius: 22px;
                background-position: 95% 50%;
                padding-left: 5%;
            }
            .searchhistory,
            .popProduct {
                margin-top: 5%;
                margin-left: 10%;
                width: 80%;
                display: flex;
                position: relative;
                .h_title {
                    position: absolute;
                    left: 0;
                    top: 1%;
                    font-size: 16px;
                    color: #989898;
                }
                ul {
                    margin-top: 10%;
                    margin-left: 1%;
                }
                .popmain {
                    display: flex;
                    flex-direction: row;
                    flex-wrap: wrap;
                    .popitem {
                        text-align: center;
                        margin-top: 10%;
                        margin-left: 1%;
                        display: flex;
                        flex-direction: column;
                        justify-content: center;
                        width: 30%;
                        .popimg {
                            width: 7.1875rem;
                            height: 7.1875rem;
                            margin: 0 auto;
                        }
                        .productName {
                            font-weight: 600;
                            display: -webkit-box;
                            -webkit-line-clamp: 1;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            font-size: 0.8rem;
                        }
                    }
                }
            }
        }
    }
}
